.. _CScriptCache Class: ========================== CScriptCache Class ========================== .. toctree:: :maxdepth: 1 * :ref:`Overview` * :ref:`Quick Reference` * :ref:`Constructors` * :ref:`Methods` ---- .. _CScriptCache_Overview: Overview --------------- .. note:: The **CScriptCache** class handles the script cache The structure used for this class is :ref:`CScriptCache` ---- .. _CScriptCache_QuickRef: Quick Reference --------------- +-------------------------------------------------------------------------------------------------+ | **Quick Ref** | +-------------------------------------------------------------------------------------------------+ | void **CScriptCache\:\:CScriptCache**\(long nSize) | +-------------------------------------------------------------------------------------------------+ | void **CScriptCache\:\:~CScriptCache**\() | +-------------------------------------------------------------------------------------------------+ | int **CScriptCache\:\:AddKey**\(:ref:`CAIScript`\* var) | +-------------------------------------------------------------------------------------------------+ | :ref:`CAIScript`\* **CScriptCache\:\:FindKey**\(:ref:`CResRef` inVarName) | +-------------------------------------------------------------------------------------------------+ | int **CScriptCache\:\:Hash**\(:ref:`CString` name) | +-------------------------------------------------------------------------------------------------+ | void **CScriptCache\:\:Resize**\(long nSize) | +-------------------------------------------------------------------------------------------------+ ---- .. _CScriptCache_Constructors: Constructors --------------- +---------------------------------------------------------------+------------------------------------------------------+ | **Name** | **Description** | +---------------------------------------------------------------+------------------------------------------------------+ | :ref:`CScriptCache\:\:CScriptCache` | Constructs a ``CScriptCache`` object | +---------------------------------------------------------------+------------------------------------------------------+ | :ref:`CScriptCache\:\:CScriptCache`| Destroys a ``CScriptCache`` object | +---------------------------------------------------------------+------------------------------------------------------+ .. _CScriptCacheCScriptCache: CScriptCache\:\:CScriptCache ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Constructs a ``CScriptCache`` object :: void CScriptCache::CScriptCache(); **Remarks** Constructs a ``CScriptCache`` object ---- .. _CScriptCache~CScriptCache: CScriptCache\:\:~CScriptCache ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Destroys the ``CScriptCache`` object :: virtual void CScriptCache::~CScriptCache(); **Remarks** Destroys the ``CScriptCache`` object ---- .. _CScriptCache_Methods: Methods --------------- +-----------------------------------------------------+-----------------------------------------------------------------------------------------+ | **Name** | **Description** | +-----------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CScriptCache\:\:AddKey` | | +-----------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CScriptCache\:\:FindKey` | | +-----------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CScriptCache\:\:Hash` | | +-----------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CScriptCache\:\:Resize` | | +-----------------------------------------------------+-----------------------------------------------------------------------------------------+ ---- .. _CScriptCacheAddKey: CScriptCache\:\:AddKey ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: x; **Parameters** * * - * * - * * - * * - **Return Value** Returns **Remarks** ---- .. _CScriptCacheFindKey: CScriptCache\:\:FindKey ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: x; **Parameters** * * - * * - * * - * * - **Return Value** Returns **Remarks** ---- .. _CScriptCacheHash: CScriptCache\:\:Hash ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: x; **Parameters** * * - * * - * * - * * - **Return Value** Returns **Remarks** ---- .. _CScriptCacheResize: CScriptCache\:\:Resize ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: x; **Parameters** * * - * * - * * - * * - **Return Value** Returns **Remarks**